﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Legazpi.Payroll.DataAccess.DataObjects
{
    public class Detachment : EntityBase<int>
    {
        public int SectorId { get; set; }
        public int PositionId { get; set; }

        public double WorkHours { get; set; }
        public double RatePerDay { get; set; }
        public double RatePerHour { get; set; }

        #region References        
        public virtual Sector Sector { get; set; }
        public virtual Position Position { get; set; }
        #endregion
    }
}
